ymkzpx

Success and failure are temporary.


  • Home

  • Archives

  • Tags

  • About

push(back) & emplace(back)

Posted on 2018-09-02 | In ACM , STL

emplace不需要触发拷贝构造和转移构造,速度更快。


  • 1
    - ```vector```中可以用```emplace_back```代替```push_back
# ACM # STL
2018 Multi-University Training Contest 10(HDU)
树上启发式合并 (dsu on tree)
Kzpx

Kzpx

Hello the cruel world.

215 posts
133 categories
100 tags
GitHub
Links
  • CS-Notes
  • Ali-CsNotes
  • Deadline
  • luowentao
  • biubiubiu
  • Gstnt
  • ecnu
  • Lzy
  • Menci
  • kuangbin
  • meopass
  • tokitsukaze
  • cubercsl
  • Claris
  • hzwer
  • qscqesze
  • ICPCCamp
  • ZYF
  • xehoth
  • Ocean
  • MrBird_to_fly
  • starry_sky
  • Multi-school AC>=20
  • snowy_smile
  • fjzzq2002
© 2019 Kzpx
Powered by Hexo
|
Theme — NexT.Mist v5.1.4